/*
 * terminatorServicioColaRemota.cpp
 *
 *  Created on: Dec 13, 2013
 *      Author: m
 */

#include "MessageQueue.h"
#include "ColaRemotaComun.h"

using ipc::MessageQueue;

int main ( int argc, char* argv[] )
{
    MessageQueue<PaqueteColaRemota>::destroy( IPC_BASEFILE, COLA_MENSAJES_BROKER );

    //killall -9 firefox
    std::string killCmd = "killall -9 ";
    system( ( killCmd + "servidorEntrada" ).c_str() );
    system( ( killCmd + "servidorSalida" ).c_str() );
    system( ( killCmd + "receptor" ).c_str() );
    system( ( killCmd + "transmisor" ).c_str() );
    system( ( killCmd + "forwarder" ).c_str() );

    return 0;
}
